package br.pucrio.inf.les.SPLAnalyser.impl.squidplugin.visualize;

import br.pucrio.inf.les.SPLAnalyser.core.Visualizer;
import br.pucrio.inf.les.SPLAnalyser.core.models.impactanalysismodel.ImpactAnalysisModel;
import br.pucrio.inf.les.SPLAnalyser.core.models.util.ModelContent;

public class AnalysisModelVisualize implements Visualizer {

	
	public void runVisualize(Object queryModel, String queryName, String projectPath){
		ModelContent queryModelContent = new ModelContent((ImpactAnalysisModel) queryModel);
		String queryModelPath = projectPath + "/ImpactAnalysis/querys/"+queryName+".impactanalysismodel";
		queryModelContent.saveModel(queryModelPath);
	}
}
